package howl.types;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class AccessGroup {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
	
	@Persistent
	private Long UserID;
	
	@Persistent
	private Long FeedID;

	
	public AccessGroup(Long userID, Long feedID) {
		super();
		UserID = userID;
		FeedID = feedID;
	}

	/**
	 * @return the userID
	 */
	public Long getUserID() {
		return UserID;
	}

	/**
	 * @param userID the userID to set
	 */
	public void setUserID(Long userID) {
		UserID = userID;
	}

	/**
	 * @return the feedID
	 */
	public Long getFeedID() {
		return FeedID;
	}

	/**
	 * @param feedID the feedID to set
	 */
	public void setFeedID(Long feedID) {
		FeedID = feedID;
	}
	
	

}
